package com.kube.design.factorymethod;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/21
 */
public class Client {

    public static void main(String[] args) {

        Product a;
        AbstractFactory af;

        af = new ConcreteFactory1();

        a = af.newProduct();

        a.show();
    }
}
